SRCS := $(wildcard *.c)
OBJS := $(patsubst %.c,%,$(SRCS)) 

COM_OP := -Wall -g
CC := gcc

all: $(OBJS)

%: %.c
	$(CC) $< -o $@ $(COM_OP)

clean:
	    $(RM)  $(OBJS) 
rebuild: clean all
